<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<html>
<head>
  <title>国家数据</title>
</head>
<body>
<form class="form-horizontal" action="${pageContext.request.contextPath}/updateCountry.do">
  <input type="hidden" name="code" value="${countrys.code}">
  <h1 align="center">城市数据</h1>
  <table align="center">
    <tr>
      <td>name</td>
      <td><input type="text" name="name" value="${countrys.name}"></td>
    </tr>
    <tr>
      <td>region</td>
      <td><input type="text" name="region" value="${countrys.region}"></td>
    </tr>
    <tr>
      <td>surfaceArea</td>
      <td><input type="text" name="surfaceArea" value="${countrys.surfaceArea}"></td>
    </tr>
    <tr>
      <td>indepYrea</td>
      <td><input type="text" name="indepYrea" value="${countrys.indepYrea}"></td>
    </tr>
    <tr>
      <td>population</td>
      <td><input type="text" name="population" value="${countrys.population}"></td>
    </tr>
    <tr>
      <td>lifeExpectancy</td>
      <td><input type="text" name="lifeExpectancy" value="${countrys.lifeExpectancy}"></td>
    </tr>
    <tr>
      <td>gnp</td>
      <td><input type="text" name="gnp" value="${countrys.gnp}"></td>
    </tr>
    <tr>
      <td>headOfState</td>
      <td><input type="text" name="headOfState" value="${countrys.headOfState}"></td>
    </tr>
    <tr>
      <td>capital</td>
      <td><input type="text" name="capital" value="${countrys.capital}"></td>
    </tr>
    <tr>
      <td>code2</td>
      <td><input type="text" name="code2" value="${countrys.code2}"></td>
    </tr>
    <tr>
      <td><input type="submit" value="修改"></td>
      <td><a href="${pageContext.request.contextPath}/findAllCountry.do">退出</a></td>
    </tr>

  </table>
</form>
</body>
</html>
